Skip to main content

Connecting to ArangoDB

The official reference documents for the driver can be found here

Connecting to databases

Let’s configure and open a connection to start using ArangoDB, be sure to fill in with the connection details from above:

ArangoDB arangoDB = new ArangoDB.Builder()
.host('<YOUR HOST>', 8529)
.user('<YOUR USER>')
.password('<YOUR USER>')
.build();

The default connection is to 127.0.0.1:8529. You should override the connection details to point to your specific instance.

 
Help us improve

Anything unclear or buggy in this tutorial? Provide Feedback